package org.example.order;

import lombok.Getter;

@Getter
public enum OrderStatus {

    UNPAID(0,"待支付"),                 // 待支付
    WAITING_FOR_DELIVER(1,"待发货"),    // 待发货
    WAITING_FOR_RECEIVE(2,"待收货"),    // 待收货
    DONE(3,"已完成");                    // 结束

    OrderStatus(int step,String name) {
        this.step = step;
        this.name = name;
    }

    private int step;
    private String name;
}
